package com.zzy.demo.enums;

import lombok.Getter;

/**
 * 是、否枚举值
 *
 * @author wey
 * @date 20221205
 */
@Getter
public enum TrueFalseEnum {

    /**
     * 是
     */
    YES("1", "是"),
    /**
     * 否
     */
    NO("0", "否"),
    ;

    private final String code;
    private final String desc;

    TrueFalseEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
